package sh.wn36.vehiclemanage.entity.entity_cjl;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="保养记录对象", description="")
public class Maintain implements Serializable {
    private static final long serialVersionUID = 1L;

    private int id;
    private String carNo;
    private String text;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date mainDate;
    private int mainAmount;
    private String unitName;
    private int mainMil;
    private String mainContent;
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date nextDate;
    private int nextMil;
    private String name;
    private String remarks;


}
